const getters = {
  token: state => state.user.token,
  nickname: state => state.user.nickname,
  role: state => state.user.role,
  permissions: state => state.user.permissions,
  avatar : state => state.user.avatar,
  phone: state => state.user.phone,
  userid: state => state.user.userid,
  usersex: state => state.user.usersex,
  status: state => state.user.status
}
export default getters
